const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    devServer: {
      // 设置代理服务器
      proxy: {
        '/': {
          target: 'http://localhost:9090',
          changeOrigin: true,
          pathRewrite: { '^/': '/' }
        }
      }
    }
  }
})
